Skip to content

Update boilerplate; adopt the dead-code hook - #111

Merged
MImmesberger merged 2 commits into
mainfrom
boilerplate-update
Nov 17, 2026
Merged

MImmesberger merged 2 commits into
mainfrom
boilerplate-update

Conversation

@hmgaudecker

@hmgaudecker hmgaudecker commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator
  • Hooks and actions bumped; prek, jupyter-book and mystmd floors raised; .ai-instructions excluded from ty.
  • import datetime as dt in four files (ruff ICN001).
  • Adopt the dead-code hook with the package as public, so only _-private definitions are checked: 0 reports. Listing it as internal would give 29.

Supersedes #110.

The .ai-instructions submodule points at ea823b0 on main, which adds registering-decorators to the dead-code hook (OpenSourceEconomics/ai-instructions#21).

Local: prek run --all-files passes. The test suite was not run locally; CI is the check for the dt rename.

https://claude.ai/code/session_01K77bhqW4p5VmpnXm4hkZ77

Bump hooks and actions, raise the prek, jupyter-book and mystmd floors,
exclude .ai-instructions from ty, import datetime as dt (ruff ICN001). Run
the dead-code hook over the package's private definitions.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K77bhqW4p5VmpnXm4hkZ77
@codecov

codecov Bot commented Nov 16, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 89.65517% with 3 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...reparation/gettsim_inputs/_generate_input_scope.py 66.66% 3 Missing ⚠️

📢 Thoughts on this report? Let us know!

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K77bhqW4p5VmpnXm4hkZ77
@MImmesberger
MImmesberger merged commit 2f3bed6 into main Nov 17, 2026
6 of 7 checks passed
@MImmesberger
MImmesberger deleted the boilerplate-update branch November 17, 2026 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants